import React, { Component } from 'react';
// import logo from './logo.svg';
import './App.css';
import './css/bootstrap.min.css';
// import './css/bootstrap.min.css'
// import Foot from './Foot'
import ExceptionList from './Component/Pagination/ExceptionList'
import HeadBar from './Component/HeadBar'

import axios from 'axios';

axios.interceptors.request.use(
  config => {
    config.headers = {
      'token': '329E9B6F-9780-4E25-90EA-9A4802325D55'
    }
    return config;
  }
)

class App extends Component {
  render() {
    return (
      <div>
        <header className="navbar navbar-inverse navbar-fixed-top">
          <div className="navbar-inner">
              <div className="container">
                  <a className="brand" href="/">易ERP 2.0</a>
                  <div className="nav-collapse collapse">
                      <ul className="nav">
                          <li><a href="/">首页</a></li>
                          <li><a href="/api-help">API帮助文档</a></li>
                          <li><a href="manager">管理员日志</a></li>
                          <li>
                            <a href="trace-log">日志追踪</a>
                          </li>
                      </ul>

                      <ul className="nav pull-right">
                      </ul>
                  </div>
              </div>
          </div>
        </header>
        <div className="container main-container" style={{width: "90%"}}>

         <HeadBar></HeadBar>
       </div>
      </div>
      // <div className="App">
      //   <header className="App-header">
      //     <img src={logo} className="App-logo" alt="logo" />
      //     <h1 className="App-title">Welcome to React</h1>
      //   </header>
      //   <p className="App-intro">
      //     To get started, edit <code>src/App.js</code> and save to reload.
      //   </p>
      //   <Foot />

      //   <ExceptionList />
      // </div>
    );
  }
}

export default App;
